# Automatically generated Makefile for project: sdl_basics
# Created on  by gaten for sdltutorials.com
# Comments, suggestions and bugs email: gaten DOT net AT gmail DOT com

# Compiler
CC=g++

# Objects
OBJECTS=sdlmain.o

# Compiler flags
CPPFLAGS=-Wall -g `sdl-config --cflags` -I../xmesh -Wno-deprecated

# Linker flags
LDFLAGS=`sdl-config --libs` -lSDL -lSDL_image -lGL -lGLU -lglut

sdlmain: sdlmain.cpp
	$(CC) $(CPPFLAGS) -c sdlmain.cpp
	$(CC) $(OBJECTS) $(CPPFLAGS) $(LDFLAGS) -o sdl_basics

# cleanup
clean:
	rm -rf $(OBJECTS)

# EOF

